#!/usr/bin/env python
# -*- coding: utf-8 -*-
import  socket
sk = socket.socket()

address = ('127.0.0.1',8000)

sk.connect(address)

data = sk.recv(1024)#阻塞

print(str(data,'utf8'))